package com.lwq.springbootdruid.service.impl;

import com.lwq.springbootdruid.annotation.MyLogAnnotation;
import com.lwq.springbootdruid.dao.MyLogDao;
import com.lwq.springbootdruid.entity.MyLog;
import com.lwq.springbootdruid.service.MyLogService;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author liwq
 * @description
 * @date 2021/7/15 9:57
 */
@Service
public class MyLogServiceImpl implements MyLogService {

    @Autowired
    private MyLogDao myLogDao;

    @Override
    public int save(MyLog log) {
        int result = myLogDao.save(log);
        return result;
    }

    @Override
    public String sayHello() {
        return "hello";
    }
}
